From: Florian Müllner Date: Thu, 1 Sep 2022 15:30:33 +0000 (+0200) Subject: config: Check for new required GnomeBluetooth API X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~452^2^2~8 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=9bda370636941e58f7f4ff3ef866039718d63cf7;p=gnome-shell.git config: Check for new required GnomeBluetooth API Client.default_adapter_state is a recent API addition, so update the HAVE_BLUETOOTH check accordingly before depending on it. Part-of: --- diff --git a/js/misc/config.js.in b/js/misc/config.js.in index deb5139d1..7fc0e637a 100644 --- a/js/misc/config.js.in +++ b/js/misc/config.js.in @@ -19,7 +19,8 @@ var PKGDATADIR = '@datadir@/@PACKAGE_NAME@'; /* g-i package versions */ var LIBMUTTER_API_VERSION = '@LIBMUTTER_API_VERSION@' -var HAVE_BLUETOOTH = pkg.checkSymbol('GnomeBluetooth', '3.0'); +var HAVE_BLUETOOTH = pkg.checkSymbol('GnomeBluetooth', '3.0', + 'Client.default_adapter_state') var HAVE_RECORDER = pkg.checkSymbol('Gst', '1.0') && imports.gi.Gst.init_check(null) &&